﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace File_Manager.Controllers
{
    public class ErrorController : Controller
    {

        public ActionResult Error() //ERROR Generíco
        {
            return View();
        }

        public ActionResult Error401() //NO Autorizado
        {
            return View();
        }

        public ActionResult Error403() //Recurso Prohibido
        {
            return View();
        }

        public ActionResult Error404(string aspxerrorpath) //Recurso NO Encontrado
        {
            ViewBag.aspxerrorpath = aspxerrorpath;
            return View();
        }

        public ActionResult Error405() //Método NO Permitido
        {
            return View();
        }

        public ActionResult Error406() //Request No aceptable 
        {
            return View();
        }

        public ActionResult Error412() //Falló Precondición de Recurso
        {
            return View();
        }

        public ActionResult Error500() //Error Interno de Ejecución
        {
            return View();
        }

        public ActionResult Error501() //Recurso NO Implementado
        {
            return View();
        }
    }
}
